package com.ybox.crawler.mapper;

import com.ybox.crawler.domain.pojos.AppLabel;
import com.ybox.crawler.domain.pojos.AppLabelExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AppLabelMapper {
    /**
     * countByExample
     *
     * @param example example
     * @return long long
     */
    long countByExample(AppLabelExample example);

    /**
     * deleteByExample
     *
     * @param example example
     * @return int int
     */
    int deleteByExample(AppLabelExample example);

    /**
     * deleteByPrimaryKey
     *
     * @param id id
     * @return int int
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * insert
     *
     * @param row row
     * @return int int
     */
    int insert(AppLabel row);

    /**
     * insertSelective
     *
     * @param row row
     * @return int int
     */
    int insertSelective(AppLabel row);

    /**
     * selectByExample
     *
     * @param example example
     * @return List<AppLabel> List<AppLabel>
     */
    List<AppLabel> selectByExample(AppLabelExample example);

    /**
     * selectByPrimaryKey
     *
     * @param id id
     * @return AppLabel AppLabel
     */
    AppLabel selectByPrimaryKey(Integer id);

    /**
     * updateByExampleSelective
     *
     * @param row     row
     * @param example example
     * @return int int
     */
    int updateByExampleSelective(@Param("row") AppLabel row, @Param("example") AppLabelExample example);

    /**
     * updateByExample
     *
     * @param row     row
     * @param example example
     * @return int int
     */
    int updateByExample(@Param("row") AppLabel row, @Param("example") AppLabelExample example);

    /**
     * updateByPrimaryKeySelective
     *
     * @param row row
     * @return int int
     */
    int updateByPrimaryKeySelective(AppLabel row);

    /**
     * updateByPrimaryKey
     *
     * @param row row
     * @return int int
     */
    int updateByPrimaryKey(AppLabel row);

    int updateBatch(List<AppLabel> list);

    int updateBatchSelective(List<AppLabel> list);

    List<AppLabel> queryAppCollectLabelByLabels(List<String> list);
}